//
//  Student.h
//  c7_结构体限时代码
//
//  Created by dllo on 15/10/14.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

//typedef struct student {
//
//    char name[20];
//    char sex;
//    int number;
//    float score;
//
//} Student;
//
//void printStudent(Student stu);
//
//void sortStudentsByNumber(Student s[], int count);


//typedef struct student{
//
//    char name[20];
//    char sex;
//    int number;
//    float socore;
//
//} Student;
//
//void printStudent(Student stu);
//
//void sortStudentsByNumber(Student s[], int count);




typedef struct student {

    char name[20];
    char sex;
    int number;
    float socore;

}Student;

void printStudent(Student stu);

void sortStudentsByNumber(Student s[], int count);




























